package com.lovo.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author bdk
 * @since 2021-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("commoment")
public class CommomentBean implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "commoment_id", type = IdType.AUTO)
    private Long commomentId;

    private String commomentContent;

    private LocalDateTime commomentTime;

    private Integer commomentLikeCount;

    private Long userId;
    @TableField(exist = false)
    private boolean isDoLike;

    @TableField(exist = false)
    private UserInfoBean userInfoBean;

}
